import express from 'express';
import { homeApi } from './home/index.js';
const app = express();
const port = 3000
app.use(express.json())
// 跨域配置

app.use('/home', homeApi)
app.listen(port, () => {
    console.log(`server is running at http://localhost:${port}`)
})
